package com.example.b_308.myapplication.comment.utils;

import android.content.Context;

/**
 * Created by B-308 on 2017/11/17.
 */
public class AppUtils {
    public static double getStatusBarHeight(Context context){
        double statusBarHeight = Math.ceil(25*context.getResources().getDisplayMetrics().density);
        return statusBarHeight;
    }
}
